function C_removeFigure(FIG)

global CG;

try CG.GUI.AllFigures = setdiff(CG.GUI.AllFigures,FIG); end